<?php
/******************************************************************************
 * Author: michal
 * Last modified: 2010-12-14 16:24
 * Filename: setting_head.view.php
 * Description: 头像设置 
 * 继承的变量:
 * $title,$user,$sitename,$lang,$arrowPosition,$extrahead,$content
 * 新声明的变量:
 * 
 * 变量列表:
 * $title,$user,$sitename,$lang,$arrowPosition,$extrahead,$content
 * 
 * 已使用的变量:
 * 
 * 子模板可用变量: 
 * 
******************************************************************************/
ob_start();
?>

<?
$extrahead = ob_get_contents();
ob_end_clean();
ob_start();
?>
<div class="shezhimain edusetting">
	<div class="tabbar">
		<ul class="tabs">
			<li class="tab tab88x33"><a href="./index.php?m=userinfo">个人资料</a></li>
			<li class="tab tab88x33"><a href="./index.php?m=userhead">修改头像</a></li>
			<li class="tab tab88x33"><a href="./index.php?m=usereduinfo">教育信息</a></li>
			<li class="tab tab88x33"><a href="./index.php?m=userverify">认证方式</a></li>
			<li class="tab tab88x33 active"><a>完善资料</a></li>
		</ul>
	</div>
	<div class="fastnews" style="margin-top:40px;">
	<strong>完善资料：</strong>
	</div>
	<?php 
	session_start();
	if(isset($_COOKIE['cyolps'])) {
		echo '<div>已绑定了中青通行证</div>';
	} else {?>
	<style type="text/css">
	*{ margin:0; padding:0;}
	a{ color:#333;}
	a:link {color: #333;text-decoration: none;}
	a:visited {	text-decoration: none;}
	a:hover {text-decoration: none;}
	a:active {text-decoration: none;}
	.main_ws{ width:530px; margin:0 auto;}
	.desc_ws{ width:530px; height:75px; background:url(style/images/ws_img1.jpg) no-repeat left top;}
	.desc_ws p{ line-height:28px; padding:10px 0px 0px 104px; font-size:14px; color:#2a4b78;}
	.desc_ws p .SQ a,.desc_ws p .SQ a:link,.desc_ws p .SQ a:visited,.desc_ws p .SQ a:hover,.desc_ws p .SQ a:active{ color:#a03200; }
	.foot_L{ width:530px; height:31px; line-height:31px; margin-top:30px; background:url(style/images/ws_img2.jpg) no-repeat left top; color:#737373; font-size:12px;}
	.foot_L p{ padding:0px 0px 0px 27px;}
	.info{ font-size:14px; text-align:center; margin:0 auto; font-weight:normal; line-height:43px; margin-top:22px; color:#294b79; }
	.info td .inputTxt{ border:1px solid #7F9DB9;font-family:Tahoma,Arial;font-size:12px;height:17px;line-height:1.231;overflow:hidden;padding:2px 5px 0;vertical-align:middle;}
	.info th{ font-weight:normal; padding-right:5px;}
	.saveBtn{ width:59px; height:21px; line-height:23px; background:url(style/images/ws_img3.jpg) no-repeat left top; border:0; color:#669900; cursor:pointer;}
	</style>
	<div class="main_ws">
		<div class="desc_ws">
		  <p>只需要一小步，完善您的中青通行证就可以参加微博校园专属活动。
	如果您已经拥有中青通行证，请直接填写，如果没有请 <span class="SQ"><a href="http://passport.cyol.com/index.php?action=plugin&v=wave&tpl=cyolpassport&ac=regist&refererurl=http://web2.cyol.com/weibo/dian.php?wbuid=<?php echo $_SESSION['cyoluserid'];?>&wburname=<?php echo $_SESSION['name'];?>">申请>></a></span>。</p>
		</div>
		<form id="" method="post" action="http://passport.cyol.com/index.php?action=plugin&v=wave&tpl=cyolpassport&refererurl=http://web2.cyol.com/weibo/dian.php?wbuid=<?php echo $_SESSION['cyoluserid'];?>&wburname=<?php echo $_SESSION['name'];?>">
		<input type="hidden" name="refererurl" value="http://web2.cyol.com/weibo/dian.php?wbuid=<?php echo $_SESSION['cyoluserid'];?>&wburname=<?php echo $_SESSION['name'];?>"/>
		<table border="0" cellpadding="0" cellspacing="0" class="info">
		<tr>
				<th>邮箱:</th>
				<td colspan="2"><input type="text" name="username" value="" class="inputTxt" ></td>
			</tr>
			<tr>
				<th>密码:</th>
				<td colspan="2"><input name="password" value="password"  class="inputTxt" type="password" /></td>
			</tr>
			<tr>
				<th>&nbsp;</th>
				<td><input name="theregist_submit" value="提交" type="submit" class="saveBtn" /> </td>
				<td><input name="" value="忘记密码" type="button" class="saveBtn" /></td>
			</tr>
			</table>
			</form>
		<div class="foot_L"><p>注：校媒采通帐号可作为中青通行证号直接登录!</p></div>
	</div>
	<?php }?>
</div>
<?php
	$content = ob_get_contents();
	ob_end_clean();
	require_once pathJoin( TEMPLATE_DIR,'base_1col.view.php' );
?>

